emacs.git
14 years agoInvoke the correct xmlstarlet executable on Debian systems.
Rob Browning [Tue, 5 Apr 2011 03:46:30 +0000 (22:46 -0500)]
Invoke the correct xmlstarlet executable on Debian systems.

Emacs now invokes the correct xmlstarlet executable on Debian systems.

Emacs invokes xmlstarlet rather than xml, which is the correct
executable name on Debian systems.

Provided-by: Jussi Judin <jjudin+debian@iki.fi>
Date: Sat, 20 Oct 2007 14:42:02 UTC
Added-by: Rob Browning <rlb@defaultvalue.org>
Status: Debian specific
Bug: 447378

14 years agoLook for NEWS in order to find etc/ rather than GNU.
Rob Browning [Tue, 5 Apr 2011 03:46:29 +0000 (22:46 -0500)]
Look for NEWS in order to find etc/ rather than GNU.

Emacs will now look for NEWS in order to find etc/ rather than GNU.

Since Debian doesn't include GNU in the Debian packages (the common
licenses are in /usr/share/common-licenses), Emacs will now look for
NEWS to find the etc directory instead of GNU.

Provided-by: Sven Joachim <svenjoac@gmx.de>
Originally-reported-by: Bernhard Michler <Boregard@gmx.net>
Date: Mon, 28 Apr 2008 11:20:23 +0200
Added-by: Rob Browning <rlb@defaultvalue.org>
Status: Debian specific

14 years agoModify the output of (version) to indicate Debian modifications.
Rob Browning [Tue, 5 Apr 2011 03:46:28 +0000 (22:46 -0500)]
Modify the output of (version) to indicate Debian modifications.

The output of (version) has been modified to indicate Debian modifications.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
14 years agoAvoid silently losing mail via fakemail.
Rob Browning [Tue, 5 Apr 2011 03:46:27 +0000 (22:46 -0500)]
Avoid silently losing mail via fakemail.

An attempt is made to avoid silently losing mail via fakemail.

This fix attempts to avoid a situation where Emacs can silently lose
mail.  This can occur if sendmail.el (at least) falls back to
fakemail, and the underlying binary (MAIL_PROGRAM_NAME) that fakemail
is configured to use doesn't exist.  Unless mail-interactive is true,
Emacs won't wait for the mailer and so won't know that fakemail
failed.

For now, Debian sets fakemail's MAIL_PROGRAM_NAME to /usr/bin/mail
(which is the correct value for Debian systems) rather than /bin/mail.
Debian also adjusts Emacs to test whether or not /usr/bin/mail exists
and is executable.  If either of these tests fail, then
mail-interactive is set to t.  That should ensure that a user will
actually see an error if they attempt to use the broken fakemail.

Note that Debian actually forces the MAIL_PROGRAM_NAME value to
/usr/bin/mail.  The build will fail if any other value is specified.
This is done to ensure that MAIL_PROGRAM_NAME isn't accidentally set
to some other value during the build process.  If this is undesirable
for some reason, just comment out avoid-fakemail-loss.diff in
debian/patches/series.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
14 years agoCause the build to fail if liblockfile isn't selected for movemail.
Rob Browning [Tue, 5 Apr 2011 03:46:26 +0000 (22:46 -0500)]
Cause the build to fail if liblockfile isn't selected for movemail.

The build will fail if liblockfile isn't selected for movemail.

This makes sure the Debian Emacs won't accidentally be built with the
wrong locking strategy.  To disable this check, comment out
require-movemail-use-liblockfile.diff in debian/patches/series.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
14 years agoAdjust documentation references for Debian.
Rob Browning [Tue, 5 Apr 2011 03:46:25 +0000 (22:46 -0500)]
Adjust documentation references for Debian.

Various documentation references have been adjusted for Debian.

References to /usr/local/... have been changed to /usr/... as
appropriate, etc.

14 years agoRemove files that appear to be incompatible with the DFSG.
Rob Browning [Tue, 5 Apr 2011 03:46:24 +0000 (22:46 -0500)]
Remove files that appear to be incompatible with the DFSG.

Files that appear to be incompatible with the DFSG have been removed.

A number of files have been removed from this package because their
licenses are not compatible with the Debian Free Software Guidelines
(DFSG), or because it wasn't completely clear that their licenses are
compatible.

In particular, all of the files which are covered under the GFDL and
have invariant sections have been removed in accordance with this
General Resolution: http://www.debian.org/vote/2006/vote_001.

The files that have been removed, but still appear to be
distributable, have been moved to packages in Debian's non-free
section.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
Status: new

14 years agoRun debian-startup and set debian-emacs-flavor.
Rob Browning [Tue, 5 Apr 2011 03:46:22 +0000 (22:46 -0500)]
Run debian-startup and set debian-emacs-flavor.

Emacs runs debian-startup and sets debian-emacs-flavor.

* Emacs runs debian-startup during the startup process unless
  site-run-file is false.

* The global variable debian-emacs-flavor is bound to 'emacs23.
  Author: Rob Browning <rlb@defaultvalue.org>

14 years agoPrefer /usr/share/info/emacs-23 over /usr/share/info.
Rob Browning [Tue, 5 Apr 2011 03:46:21 +0000 (22:46 -0500)]
Prefer /usr/share/info/emacs-23 over /usr/share/info.

Emacs will prefer /usr/share/info/emacs-23 over /usr/share/info.

The value of Info-default-directory-list has been augmented via
site-init.el to include /usr/share/info/emacs-23 before
/usr/share/info.

14 years agoMerge tag 'EMACS_23_4' into deb/emacs23/d/sid/upstream
Rob Browning [Wed, 21 Mar 2012 01:36:45 +0000 (20:36 -0500)]
Merge tag 'EMACS_23_4' into deb/emacs23/d/sid/upstream

Conflicts:
configure
doc/emacs/ChangeLog
doc/emacs/Makefile.in
doc/emacs/abbrevs.texi
doc/emacs/ack.texi
doc/emacs/anti.texi
doc/emacs/arevert-xtra.texi
doc/emacs/basic.texi
doc/emacs/buffers.texi
doc/emacs/building.texi
doc/emacs/cal-xtra.texi
doc/emacs/calendar.texi
doc/emacs/cmdargs.texi
doc/emacs/commands.texi
doc/emacs/custom.texi
doc/emacs/dired-xtra.texi
doc/emacs/dired.texi
doc/emacs/display.texi
doc/emacs/emacs-xtra.texi
doc/emacs/emacs.texi
doc/emacs/emerge-xtra.texi
doc/emacs/entering.texi
doc/emacs/files.texi
doc/emacs/fixit.texi
doc/emacs/fortran-xtra.texi
doc/emacs/frames.texi
doc/emacs/glossary.texi
doc/emacs/gnu.texi
doc/emacs/help.texi
doc/emacs/indent.texi
doc/emacs/killing.texi
doc/emacs/kmacro.texi
doc/emacs/m-x.texi
doc/emacs/macos.texi
doc/emacs/maintaining.texi
doc/emacs/major.texi
doc/emacs/makefile.w32-in
doc/emacs/mark.texi
doc/emacs/mini.texi
doc/emacs/misc.texi
doc/emacs/msdog-xtra.texi
doc/emacs/msdog.texi
doc/emacs/mule.texi
doc/emacs/picture-xtra.texi
doc/emacs/programs.texi
doc/emacs/regs.texi
doc/emacs/rmail.texi
doc/emacs/screen.texi
doc/emacs/search.texi
doc/emacs/sending.texi
doc/emacs/text.texi
doc/emacs/trouble.texi
doc/emacs/vc-xtra.texi
doc/emacs/vc1-xtra.texi
doc/emacs/windows.texi
doc/emacs/xresources.texi
doc/lispintro/ChangeLog
doc/lispintro/Makefile.in
doc/lispintro/README
doc/lispintro/cons-1.eps
doc/lispintro/cons-2.eps
doc/lispintro/cons-2a.eps
doc/lispintro/cons-3.eps
doc/lispintro/cons-4.eps
doc/lispintro/cons-5.eps
doc/lispintro/drawers.eps
doc/lispintro/emacs-lisp-intro.texi
doc/lispintro/lambda-1.eps
doc/lispintro/lambda-2.eps
doc/lispintro/lambda-3.eps
doc/lispintro/makefile.w32-in
doc/lispref/ChangeLog
doc/lispref/Makefile.in
doc/lispref/README
doc/lispref/abbrevs.texi
doc/lispref/advice.texi
doc/lispref/anti.texi
doc/lispref/back.texi
doc/lispref/backups.texi
doc/lispref/book-spine.texinfo
doc/lispref/buffers.texi
doc/lispref/commands.texi
doc/lispref/compile.texi
doc/lispref/control.texi
doc/lispref/customize.texi
doc/lispref/debugging.texi
doc/lispref/display.texi
doc/lispref/edebug.texi
doc/lispref/elisp-covers.texi
doc/lispref/elisp.texi
doc/lispref/errors.texi
doc/lispref/eval.texi
doc/lispref/files.texi
doc/lispref/frames.texi
doc/lispref/functions.texi
doc/lispref/hash.texi
doc/lispref/help.texi
doc/lispref/hooks.texi
doc/lispref/internals.texi
doc/lispref/intro.texi
doc/lispref/keymaps.texi
doc/lispref/lay-flat.texi
doc/lispref/lists.texi
doc/lispref/loading.texi
doc/lispref/locals.texi
doc/lispref/macros.texi
doc/lispref/makefile.w32-in
doc/lispref/maps.texi
doc/lispref/markers.texi
doc/lispref/minibuf.texi
doc/lispref/modes.texi
doc/lispref/nonascii.texi
doc/lispref/numbers.texi
doc/lispref/objects.texi
doc/lispref/os.texi
doc/lispref/positions.texi
doc/lispref/processes.texi
doc/lispref/searching.texi
doc/lispref/sequences.texi
doc/lispref/streams.texi
doc/lispref/strings.texi
doc/lispref/symbols.texi
doc/lispref/syntax.texi
doc/lispref/text.texi
doc/lispref/tindex.pl
doc/lispref/tips.texi
doc/lispref/two-volume-cross-refs.txt
doc/lispref/two-volume.make
doc/lispref/two.el
doc/lispref/variables.texi
doc/lispref/vol1.texi
doc/lispref/vol2.texi
doc/lispref/windows.texi
doc/misc/ada-mode.texi
doc/misc/auth.texi
doc/misc/autotype.texi
doc/misc/calc.texi
doc/misc/cc-mode.texi
doc/misc/cl.texi
doc/misc/dbus.texi
doc/misc/dired-x.texi
doc/misc/ebrowse.texi
doc/misc/ede.texi
doc/misc/ediff.texi
doc/misc/edt.texi
doc/misc/eieio.texi
doc/misc/emacs-mime.texi
doc/misc/epa.texi
doc/misc/erc.texi
doc/misc/eshell.texi
doc/misc/eudc.texi
doc/misc/flymake.texi
doc/misc/forms.texi
doc/misc/gnus-coding.texi
doc/misc/gnus-faq.texi
doc/misc/gnus-news.el
doc/misc/gnus-news.texi
doc/misc/gnus.texi
doc/misc/idlwave.texi
doc/misc/info.texi
doc/misc/mairix-el.texi
doc/misc/makefile.w32-in
doc/misc/message.texi
doc/misc/mh-e.texi
doc/misc/newsticker.texi
doc/misc/nxml-mode.texi
doc/misc/org.texi
doc/misc/pcl-cvs.texi
doc/misc/pgg.texi
doc/misc/rcirc.texi
doc/misc/reftex.texi
doc/misc/remember.texi
doc/misc/sasl.texi
doc/misc/sc.texi
doc/misc/sem-user.texi
doc/misc/semantic.texi
doc/misc/ses.texi
doc/misc/sieve.texi
doc/misc/smtpmail.texi
doc/misc/speedbar.texi
doc/misc/tramp.texi
doc/misc/trampver.texi
doc/misc/url.texi
doc/misc/vip.texi
doc/misc/viper.texi
doc/misc/widget.texi
doc/misc/woman.texi
etc/GNU
src/config.in

14 years ago* src/coding.c (encode_designation_at_bol): Change return value to EMACS_INT.
HIROSHI OOTA [Wed, 25 Jan 2012 05:35:05 +0000 (13:35 +0800)]
* src/coding.c (encode_designation_at_bol): Change return value to EMACS_INT.

14 years agoBump version number to 23.4
Chong Yidong [Thu, 19 Jan 2012 15:17:57 +0000 (23:17 +0800)]
Bump version number to 23.4

14 years agoBackport fix for Bug#9318 from trunk.
Chong Yidong [Thu, 19 Jan 2012 14:55:10 +0000 (22:55 +0800)]
Backport fix for Bug#9318 from trunk.

14 years agoFix usage of unitialized local var (backport from trunk)
Paul Eggert [Thu, 19 Jan 2012 14:35:41 +0000 (22:35 +0800)]
Fix usage of unitialized local var (backport from trunk)

* src/coding.c (encode_designation_at_bol): Don't use uninitialized
local variable (Bug#9318).

14 years agoPay attention to buffer relocation on encoding (Bug#9318; backport from trunk).
Kenichi Handa [Thu, 19 Jan 2012 14:19:21 +0000 (22:19 +0800)]
Pay attention to buffer relocation on encoding (Bug#9318; backport from trunk).

Backport of revno 106613 from trunk.

14 years agoDo not use ranges in FSF copyright years in emacs-23 (do not merge to trunk)
Glenn Morris [Thu, 19 Jan 2012 07:35:35 +0000 (23:35 -0800)]
Do not use ranges in FSF copyright years in emacs-23 (do not merge to trunk)

14 years agoCopy copyright fix from r100646 to one more file.
Glenn Morris [Thu, 19 Jan 2012 07:15:48 +0000 (23:15 -0800)]
Copy copyright fix from r100646 to one more file.

14 years agoRevert unintentional addition of 2012 to Ecma copyright years.
Glenn Morris [Thu, 19 Jan 2012 07:03:15 +0000 (23:03 -0800)]
Revert unintentional addition of 2012 to Ecma copyright years.
This was done by mistake in emacs-23 r100640, and then propagated
to one more file in r100646.

14 years agoFix python-wy.el copyright header.
Chong Yidong [Wed, 18 Jan 2012 15:11:11 +0000 (23:11 +0800)]
Fix python-wy.el copyright header.

14 years agoFix init_buffer for USE_MMAP_FOR_BUFFERS case (backport from trunk)
Yoshiaki Kasahara [Wed, 18 Jan 2012 15:01:35 +0000 (23:01 +0800)]
Fix init_buffer for USE_MMAP_FOR_BUFFERS case (backport from trunk)

* buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Adjust to
aliasing change.

14 years agoReorganize Emacs 23.4 NEWS.
Chong Yidong [Wed, 18 Jan 2012 14:58:01 +0000 (22:58 +0800)]
Reorganize Emacs 23.4 NEWS.

14 years agoAdd entry for ede-project-directories to NEWS.
Chong Yidong [Sun, 15 Jan 2012 04:11:26 +0000 (12:11 +0800)]
Add entry for ede-project-directories to NEWS.

14 years ago* make-dist: Distribute the etc/grammars subdirectory.
Chong Yidong [Sun, 15 Jan 2012 03:23:43 +0000 (11:23 +0800)]
* make-dist: Distribute the etc/grammars subdirectory.

14 years agoBump version to 23.3.90.
Chong Yidong [Sun, 15 Jan 2012 03:12:31 +0000 (11:12 +0800)]
Bump version to 23.3.90.
Regenerate ldefs-boot.el and AUTHORS.

14 years agoFix wrong font metrics for mouse highlight (backport 106677 from trunk)
YAMAMOTO Mitsuharu [Sun, 15 Jan 2012 02:55:52 +0000 (10:55 +0800)]
Fix wrong font metrics for mouse highlight (backport 106677 from trunk)

* src/xftfont.c (xftfont_draw): Use the font metrics of s->font to
fill background (Bug#8992).

14 years agoSome copyright header fixes for grammar files.
Chong Yidong [Sun, 15 Jan 2012 02:48:33 +0000 (10:48 +0800)]
Some copyright header fixes for grammar files.

* etc/grammars/wisent-grammar.el: Make the Python copyright the
literally required one.

* lisp/cedet/semantic/wisent/python-wy.el: Regenerate.

* lisp/cedet/semantic/wisent/js-wy.el: Add missing copyright header

Suggested by Glenn Morris.

14 years agoFix previous ChangeLog date fix (no need to merge to trunk)
Glenn Morris [Fri, 13 Jan 2012 19:15:24 +0000 (11:15 -0800)]
Fix previous ChangeLog date fix (no need to merge to trunk)

14 years agoChangeLog date fix (no need to merge to trunk)
Glenn Morris [Fri, 13 Jan 2012 17:26:05 +0000 (09:26 -0800)]
ChangeLog date fix (no need to merge to trunk)

14 years agoTake display-table into account on calculating character/string width (#Bug#9496).
Kenichi Handa [Fri, 13 Jan 2012 05:47:59 +0000 (14:47 +0900)]
Take display-table into account on calculating character/string width (#Bug#9496).

14 years agoTake display-table into account on calculating character/string width (#Bug#9496).
Kenichi Handa [Fri, 13 Jan 2012 05:47:28 +0000 (14:47 +0900)]
Take display-table into account on calculating character/string width (#Bug#9496).

14 years agomerge trunk
Kenichi Handa [Fri, 13 Jan 2012 04:38:45 +0000 (13:38 +0900)]
merge trunk

14 years ago* src/s/gnu-linux.h: Use CRT_DIR.
Sven Joachim [Thu, 12 Jan 2012 10:41:16 +0000 (18:41 +0800)]
* src/s/gnu-linux.h: Use CRT_DIR.

14 years ago* configure.in: Add i386 to cpp_undefs (Bug#8497).
Glenn Morris [Thu, 12 Jan 2012 10:11:38 +0000 (18:11 +0800)]
* configure.in: Add i386 to cpp_undefs (Bug#8497).

14 years agoAdd 2012 to FSF copyright years for Emacs files (do not merge to trunk)
Glenn Morris [Wed, 11 Jan 2012 07:52:35 +0000 (23:52 -0800)]
Add 2012 to FSF copyright years for Emacs files (do not merge to trunk)

14 years agoUpdate short copyright year to 2012 (do not merge to trunk)
Glenn Morris [Tue, 10 Jan 2012 08:32:46 +0000 (00:32 -0800)]
Update short copyright year to 2012 (do not merge to trunk)

* etc/refcards/calccard.tex, etc/refcards/cs-dired-ref.tex:
* etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
* etc/refcards/de-refcard.tex, etc/refcards/dired-ref.tex:
* etc/refcards/fr-dired-ref.tex, etc/refcards/fr-refcard.tex:
* etc/refcards/fr-survival.tex, etc/refcards/orgcard.tex:
* etc/refcards/pl-refcard.tex, etc/refcards/pt-br-refcard.tex:
* etc/refcards/refcard.tex, etc/refcards/ru-refcard.tex:
* etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
* etc/refcards/sk-survival.tex, etc/refcards/survival.tex:
* etc/refcards/vipcard.tex, etc/refcards/viperCard.tex:
* lib-src/ebrowse.c (version) <emacs_copyright>:
* lib-src/etags.c (print_version) <emacs_copyright>:
* lib-src/rcs2log (Copyright):
* lisp/version.el (emacs-copyright):
* nextstep/Cocoa/Emacs.base/Contents/Info.plist:
* nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings:
* nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist:
Update short copyright year to 2012.

14 years agoFix uninitialized variable in note_mouse_highlight (backport from trunk).
Eli Zaretskii [Mon, 9 Jan 2012 09:49:08 +0000 (17:49 +0800)]
Fix uninitialized variable in note_mouse_highlight (backport from trunk).

* xdisp.c (note_mouse_highlight): Initialize `area'.  (Bug#9947)

14 years agoAvoid crash on composition (backport from trunk).
Johan Bockgård [Mon, 9 Jan 2012 09:44:18 +0000 (17:44 +0800)]
Avoid crash on composition (backport from trunk).

* xdisp.c (fill_composite_glyph_string): Always set s->face, to
avoid a crash (bug#9496).

14 years agoFix last commit.
Chong Yidong [Mon, 9 Jan 2012 09:40:11 +0000 (17:40 +0800)]
Fix last commit.

14 years agoFix use of uninitialized var (backport from trunk).
Chong Yidong [Mon, 9 Jan 2012 09:35:21 +0000 (17:35 +0800)]
Fix use of uninitialized var (backport from trunk).

* xdisp.c (note_mouse_highlight): Fix use of uninitialized var.

14 years agoFix use of uninitialized variable (backport from trunk).
Eli Zaretskii [Mon, 9 Jan 2012 09:27:02 +0000 (17:27 +0800)]
Fix use of uninitialized variable (backport from trunk).

* xdisp.c (note_mouse_highlight): Initialize `part', to avoid a
possible random value that matches one of those tested as
condition to clear the mouse face.

14 years agoFix glitch in scrolling_window (backport from trunk).
YAMAMOTO Mitsuharu [Mon, 9 Jan 2012 09:23:36 +0000 (17:23 +0800)]
Fix glitch in scrolling_window (backport from trunk).

* dispnew.c (scrolling_window): Truncate overlaps in copy
destination of scroll runs so as to avoid assigning disabled bogus
rows and unnecessary graphics copy operations.

14 years agoBackport Bug#9990 fix from trunk
Eli Zaretskii [Mon, 9 Jan 2012 09:13:27 +0000 (17:13 +0800)]
Backport Bug#9990 fix from trunk

* src/dispnew.c (scrolling_window): Fix incorrect indices in accessing
current_matrix and desired_matrix.  (Bug#9990)

14 years agoFix EDE security flaw involving loading arbitrary Lisp from Project.ede.
Eric Ludlam [Mon, 9 Jan 2012 06:12:11 +0000 (14:12 +0800)]
Fix EDE security flaw involving loading arbitrary Lisp from Project.ede.

* lisp/ede.el (ede-project-directories): New option.
(ede-directory-safe-p): Check it.
(ede-initialize-state-current-buffer, ede, ede-new)
(ede-check-project-directory, ede-rescan-toplevel)
(ede-load-project-file, ede-parent-project, ede-current-project):
(ede-target-parent): Avoid loading in a project unless it is safe,
since it may involve malicious code.  This security flaw was
pointed out by Hiroshi Oota.

* lisp/ede/auto.el (ede-project-autoload): Add safe-p slot.
(ede-project-class-files): Projects using Project.ede are unsafe.
(ede-auto-load-project): New method.

* lisp/ede/simple.el (ede-project-class-files): Mark as unsafe.

14 years agoAdd CEDET grammar files to emacs-23 branch.
Chong Yidong [Mon, 9 Jan 2012 05:42:57 +0000 (13:42 +0800)]
Add CEDET grammar files to emacs-23 branch.

14 years ago* variables.texi (Creating Buffer-Local): Warn against misuses of
Stefan Monnier [Tue, 27 Dec 2011 23:48:53 +0000 (18:48 -0500)]
* variables.texi (Creating Buffer-Local): Warn against misuses of
make-variable-buffer-local.

14 years agoFix memory leak by y-or-n-p-with-timeout with GUI (Bug#9830).
YAMAMOTO Mitsuharu [Mon, 31 Oct 2011 03:08:54 +0000 (12:08 +0900)]
Fix memory leak by y-or-n-p-with-timeout with GUI (Bug#9830).

* xmenu.c (cleanup_widget_value_tree): New function.
(xmenu_show, xdialog_show): Use it in record_unwind_protect instead of
calling free_menubar_widget_value_tree directly (Bug#9830).

14 years ago* src/keymap.c (Fsingle_key_description): Use make_specified_string
Andreas Schwab [Mon, 19 Sep 2011 21:15:47 +0000 (23:15 +0200)]
* src/keymap.c (Fsingle_key_description): Use make_specified_string
instead of build_string to build string from push_key_description.
(Bug#5193)

14 years ago* xdisp.c (expose_window): Save original value of phys_cursor_on_p and turn window...
YAMAMOTO Mitsuharu [Sat, 10 Sep 2011 06:54:04 +0000 (15:54 +0900)]
* xdisp.c (expose_window): Save original value of phys_cursor_on_p and turn window cursor on if cleared (Bug#9415).

14 years ago* src/search.c (boyer_moore): Take unibyte characters from pattern
Andreas Schwab [Wed, 7 Sep 2011 16:48:37 +0000 (18:48 +0200)]
* src/search.c (boyer_moore): Take unibyte characters from pattern
literally.  (Bug#9458)

14 years agoFix syntax scanning bug causing fontification crashes.
Chong Yidong [Tue, 30 Aug 2011 22:38:07 +0000 (18:38 -0400)]
Fix syntax scanning bug causing fontification crashes.

* src/syntax.c (find_defun_start): Update all cache variables if
exiting early.

14 years ago* dic/lispref/lists.texi (Building Lists): Fix typo.
Dani Moncayo [Sun, 28 Aug 2011 19:08:45 +0000 (15:08 -0400)]
* dic/lispref/lists.texi (Building Lists): Fix typo.

14 years agoBackport r104485 (Bug#8799) from trunk
Chong Yidong [Sun, 21 Aug 2011 03:12:26 +0000 (23:12 -0400)]
Backport r104485 (Bug#8799) from trunk

14 years agoBackport r104485 (Bug#8799) from trunk
Chong Yidong [Sun, 21 Aug 2011 03:12:09 +0000 (23:12 -0400)]
Backport r104485 (Bug#8799) from trunk

14 years agoBackport license fix from trunk (remove duplicate, incorrect license).
Glenn Morris [Sat, 20 Aug 2011 22:14:27 +0000 (15:14 -0700)]
Backport license fix from trunk (remove duplicate, incorrect license).

14 years agoFix implicit declaration of kbd_on_hold_p
Andreas Schwab [Fri, 19 Aug 2011 15:58:27 +0000 (17:58 +0200)]
Fix implicit declaration of kbd_on_hold_p

* keyboard.c: Include "process.h"

14 years ago* hi-lock.el (hi-lock-unface-buffer): Fix interactive spec (Bug#7554).
Chong Yidong [Tue, 9 Aug 2011 21:55:34 +0000 (17:55 -0400)]
* hi-lock.el (hi-lock-unface-buffer): Fix interactive spec (Bug#7554).

14 years agoFixes: debbugs:6594
Andreas Schwab [Thu, 28 Jul 2011 18:40:28 +0000 (20:40 +0200)]
Fixes: debbugs:6594
* lisp/xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
character.

14 years agoBackport r100703 from trunk.
Chong Yidong [Thu, 28 Jul 2011 15:47:17 +0000 (11:47 -0400)]
Backport r100703 from trunk.
This is required by the recent --reverse-video fix.

2011-07-28  Eli Zaretskii  <eliz@gnu.org>

* xfaces.c (update_face_from_frame_parameter): Move out of
HAVE_WINDOW_SYSTEM portion.  Condition window-system only parts
with HAVE_WINDOW_SYSTEM.

14 years agoBackport r100703 from trunk
Chong Yidong [Thu, 28 Jul 2011 15:45:07 +0000 (11:45 -0400)]
Backport r100703 from trunk

14 years ago* fontset.c (fontset_get_font_group): Add proper type checks.
Andreas Schwab [Tue, 26 Jul 2011 11:00:23 +0000 (13:00 +0200)]
* fontset.c (fontset_get_font_group): Add proper type checks.
(Bug#9172)

14 years agoSupport LC_FUNCTION_STARTS load command on Darwin.
YAMAMOTO Mitsuharu [Sat, 23 Jul 2011 04:04:58 +0000 (13:04 +0900)]
Support LC_FUNCTION_STARTS load command on Darwin.

14 years agoMerge fix for Bug#4238 from trunk
Chong Yidong [Fri, 22 Jul 2011 15:23:43 +0000 (11:23 -0400)]
Merge fix for Bug#4238 from trunk

14 years agoMerge fix for Bug#4238 from trunk
Chong Yidong [Fri, 22 Jul 2011 15:23:10 +0000 (11:23 -0400)]
Merge fix for Bug#4238 from trunk

14 years agoChangeLog fix.
Glenn Morris [Sat, 16 Jul 2011 20:06:21 +0000 (13:06 -0700)]
ChangeLog fix.

14 years ago* window.el (split-window-horizontally): Doc fix (Bug#9060).
Chong Yidong [Tue, 12 Jul 2011 16:01:34 +0000 (12:01 -0400)]
* window.el (split-window-horizontally): Doc fix (Bug#9060).

14 years agoSuppress address randomization on Darwin. Do not merge into trunk.
YAMAMOTO Mitsuharu [Mon, 11 Jul 2011 23:07:49 +0000 (08:07 +0900)]
Suppress address randomization on Darwin.  Do not merge into trunk.

14 years agoIgnore a static composition that starts before the current checking position in redis...
Kenichi Handa [Thu, 7 Jul 2011 07:12:34 +0000 (16:12 +0900)]
Ignore a static composition that starts before the current checking position in redisplay.

14 years agoIgnore a static composition that starts before the current checking position in redis...
Kenichi Handa [Thu, 7 Jul 2011 07:11:54 +0000 (16:11 +0900)]
Ignore a static composition that starts before the current checking position in redisplay.

14 years agomerge trunk
Kenichi Handa [Wed, 6 Jul 2011 08:07:47 +0000 (17:07 +0900)]
merge trunk

14 years agoChangeLog fix.
Glenn Morris [Wed, 6 Jul 2011 02:34:08 +0000 (19:34 -0700)]
ChangeLog fix.

14 years ago* customize.texi (Composite Types): Move alist/plist from Simple Types (Bug#7545).
Chong Yidong [Sun, 3 Jul 2011 00:45:24 +0000 (20:45 -0400)]
* customize.texi (Composite Types): Move alist/plist from Simple Types (Bug#7545).

* elisp.texi (Top): Update menu description.

14 years ago* display.texi (Face Attributes): Document negative line widths (Bug#6113).
Chong Yidong [Sun, 3 Jul 2011 00:24:00 +0000 (20:24 -0400)]
* display.texi (Face Attributes): Document negative line widths (Bug#6113).

14 years agoMark tiny change.
Glenn Morris [Tue, 28 Jun 2011 01:09:47 +0000 (18:09 -0700)]
Mark tiny change.

14 years ago* lisp/progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
Chong Yidong [Mon, 27 Jun 2011 21:38:14 +0000 (17:38 -0400)]
* lisp/progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).

14 years agoMerge fix for Bug#8870 from trunk
Chong Yidong [Mon, 27 Jun 2011 21:17:21 +0000 (17:17 -0400)]
Merge fix for Bug#8870 from trunk

14 years agoMerge fix for Bug#8870 from trunk
Chong Yidong [Mon, 27 Jun 2011 21:16:28 +0000 (17:16 -0400)]
Merge fix for Bug#8870 from trunk

14 years ago* frame.el (special-display-popup-frame): Doc fix (Bug#8853).
Chong Yidong [Sun, 19 Jun 2011 19:05:15 +0000 (15:05 -0400)]
* frame.el (special-display-popup-frame): Doc fix (Bug#8853).

14 years ago* info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
Chong Yidong [Sun, 19 Jun 2011 18:42:23 +0000 (14:42 -0400)]
* info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).

14 years agoMerge fix for Bug#8879 from trunk
Chong Yidong [Sat, 18 Jun 2011 19:23:54 +0000 (15:23 -0400)]
Merge fix for Bug#8879 from trunk

14 years agoMerge fix for Bug#8879 from trunk
Chong Yidong [Sat, 18 Jun 2011 19:23:43 +0000 (15:23 -0400)]
Merge fix for Bug#8879 from trunk

14 years ago* dispnew.c (scrolling_window): Before scrolling, turn off a mouse-highlight in the...
YAMAMOTO Mitsuharu [Sat, 18 Jun 2011 00:37:38 +0000 (09:37 +0900)]
* dispnew.c (scrolling_window): Before scrolling, turn off a mouse-highlight in the window being scrolled.

14 years agoFix ChangeLog entry (no need to merge to trunk)
Glenn Morris [Fri, 17 Jun 2011 06:54:08 +0000 (23:54 -0700)]
Fix ChangeLog entry (no need to merge to trunk)

14 years agoMerge: nsmenu.m: Replace all uses of XVECTOR with ASIZE and AREF.
Paul Eggert [Thu, 16 Jun 2011 15:31:16 +0000 (11:31 -0400)]
Merge: nsmenu.m: Replace all uses of XVECTOR with ASIZE and AREF.

14 years agoFix errors in 2011-05-29 change to Lisp manual.
Chong Yidong [Tue, 14 Jun 2011 15:13:26 +0000 (11:13 -0400)]
Fix errors in 2011-05-29 change to Lisp manual.

* doc/lispref/keymaps.texi (Searching Keymaps):
* doc/lispref/display.texi (Overlay Properties): Fix errors in 2011-05-29
change.  Suggested by Johan Bockgård.

14 years agoFix bug #8780 with decoding files after using ange-ftp.
Eli Zaretskii [Thu, 9 Jun 2011 09:40:51 +0000 (12:40 +0300)]
Fix bug #8780 with decoding files after using ange-ftp.

 lisp/net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
 buffer-file-type before setting its value, to avoid disastrous
 global effects on decoding files for DOS/Windows systems.

14 years agoFixes bug#8730, bug#8781. Do not merge into trunk.
Juanma Barranquero [Sun, 5 Jun 2011 00:32:23 +0000 (02:32 +0200)]
Fixes bug#8730, bug#8781.  Do not merge into trunk.

lisp/progmodes/python.el (python-after-info-look): Add autoload cookie.
(python-unload-function): New function.

14 years ago* flymake.el (flymake-compilation-prevents-syntax-check): Doc fix (Bug#8713).
Reuben Thomas [Sat, 4 Jun 2011 23:06:53 +0000 (19:06 -0400)]
* flymake.el (flymake-compilation-prevents-syntax-check): Doc fix (Bug#8713).

14 years ago* lisp/repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
Chong Yidong [Sat, 4 Jun 2011 23:00:29 +0000 (19:00 -0400)]
* lisp/repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).

14 years agolisp/loadhist.el (unload-feature-special-hooks): Add comint-output-filter-functions.
Juanma Barranquero [Sat, 4 Jun 2011 21:30:14 +0000 (23:30 +0200)]
lisp/loadhist.el (unload-feature-special-hooks): Add comint-output-filter-functions.

14 years ago* src/emacs.c (main): Warn when starting a GTK emacs in daemon mode.
Dan Nicolaescu [Thu, 2 Jun 2011 16:56:04 +0000 (09:56 -0700)]
* src/emacs.c (main): Warn when starting a GTK emacs in daemon mode.

14 years ago* fringe.c (update_window_fringes): Don't update overlay arrow bitmap in the current...
YAMAMOTO Mitsuharu [Wed, 1 Jun 2011 01:36:38 +0000 (10:36 +0900)]
* fringe.c (update_window_fringes): Don't update overlay arrow bitmap in the current matrix if keep_current_p is non-zero.

14 years agoTweaks to lisp manual to remove over/underflows in printed version.
Chong Yidong [Sun, 29 May 2011 17:18:46 +0000 (13:18 -0400)]
Tweaks to lisp manual to remove over/underflows in printed version.

* help.texi (Accessing Documentation):
* display.texi (Pixel Specification):
* processes.texi (Serial Ports, Serial Ports):
* nonascii.texi (Character Properties, Default Coding Systems):
* text.texi (Changing Properties, Special Properties):
* windows.texi (Window Start and End):
* modes.texi (SMIE Indentation Example, SMIE Tricks):
* keymaps.texi (Searching Keymaps, Tool Bar):
* minibuf.texi (Basic Completion):
* compile.texi (Eval During Compile):
* strings.texi (Formatting Strings): Tweaks to avoid overflowing
7x9 paper in printed manual.

* lists.texi (Sets And Lists): Fix misplaced text.

14 years agomail/sendmail.el (mail-encode-header): Avoid double encoding by let-binding rfc2047...
Kenichi Handa [Fri, 27 May 2011 04:55:00 +0000 (13:55 +0900)]
mail/sendmail.el (mail-encode-header): Avoid double encoding by let-binding rfc2047-encode-encoded-words to nil.

14 years agomail/sendmail.el (mail-encode-header): Avoid double encoding by let-binding rfc2047...
Kenichi Handa [Fri, 27 May 2011 04:54:39 +0000 (13:54 +0900)]
mail/sendmail.el (mail-encode-header): Avoid double encoding by let-binding rfc2047-encode-encoded-words to nil.

14 years agomerge emacs-23
Kenichi Handa [Fri, 27 May 2011 04:50:30 +0000 (13:50 +0900)]
merge emacs-23

14 years agoTake account of periodic fringe bitmap's dependency on y-position in redrawing.
YAMAMOTO Mitsuharu [Wed, 25 May 2011 03:06:05 +0000 (12:06 +0900)]
Take account of periodic fringe bitmap's dependency on y-position in redrawing.

* dispextern.h (struct glyph_row): New member fringe_bitmap_periodic_p.

* dispnew.c (shift_glyph_matrix, scrolling_window): Mark scrolled row
for fringe update if it has periodic bitmap.
(row_equal_p): Also compare left_fringe_offset, right_fringe_offset,
and fringe_bitmap_periodic_p.

* fringe.c (get_fringe_bitmap_data): New function.
(draw_fringe_bitmap_1, update_window_fringes): Use it.
(update_window_fringes): Record periodicity of fringe bitmap in glyph
row.  Mark glyph row for fringe update if periodicity changed.

* xdisp.c (try_window_reusing_current_matrix): Don't mark scrolled row
for fringe update unless it has periodic bitmap.

14 years agoxdisp.c (get_next_display_element): Set correct it->face_id for a static composition.
Kenichi Handa [Wed, 25 May 2011 02:46:09 +0000 (11:46 +0900)]
xdisp.c (get_next_display_element): Set correct it->face_id for a static composition.

14 years agomerge emacs-23
Kenichi Handa [Wed, 25 May 2011 02:45:30 +0000 (11:45 +0900)]
merge emacs-23

14 years agoxdisp.c (get_next_display_element): Set correct it->face_id for a static composition.
Kenichi Handa [Wed, 25 May 2011 01:26:35 +0000 (10:26 +0900)]
xdisp.c (get_next_display_element): Set correct it->face_id for a static composition.

14 years agoRFC2047-encode header of outgoing mails.
Kenichi Handa [Mon, 23 May 2011 04:45:00 +0000 (13:45 +0900)]
RFC2047-encode header of outgoing mails.